package controller.menuiconbar;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import view.MainFrame;


public class RefreshListener implements ActionListener{
	
	public RefreshListener(MainFrame f) {
		frame = f;
	}
		
	public void actionPerformed(ActionEvent arg0) {
		frame.getMainPanel().getPrimary().getDiskContent().CreateNewView(null);
		frame.getMainPanel().getSecondary().getDiskContent().CreateNewView(null);
	}
	private MainFrame frame;	
}
